import React, { Component } from 'react';
import { WebView } from 'react-native-webview';

export default class FindDetail extends Component {
  static navigationOptions = {
    title: '详情',
  };
  render() {
    const { detailUrl } = this.props.navigation.state.params;
    return (
        <WebView
          startInLoadingState
          originWhitelist={['*']}
          source={{ uri: detailUrl }}
        />
    )
  }
}

